import request from '@/utils/request'

// 列表
export function getList(data) {
  return request({
    url: '/bus/goodsRegister/page',
    method: 'post',
    data: data
  })
}

export function addData(data) {
  return request({
    url: '/bus/goodsRegister/addGoodsRegister',
    method: 'post',
    data: data
  })
}
export function editData(data) {
  return request({
    url: '/bus/goodsRegister/updateGoodsRegister',
    method: 'post',
    data: data
  })
}
export function actionData(data) {
  return request({
    url: '/bus/goodsRegister/checkGoodsRegister',
    method: 'post',
    data: data
  })
}
export function getHistoryList(data) {
  return request({
    url: '/bus/storageHistory/page',
    method: 'post',
    data: data
  })
}